package com.tr.shopping.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.tr.shopping.member.dao")
@EnableFeignClients(basePackages = "com.tr.shopping.member.feign")    //声明调用者
@EnableDiscoveryClient                          //声明加入nacos服务管理
@SpringBootApplication
public class ShoppingMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingMemberApplication.class, args);
    }

}
